package com.bwda.dsrs.filecenter.ftpsdk;

import java.util.List;

/**
 * Ftp service
 *
 * @author yangjun
 * @date 2019 /7/16
 */
public interface FtpService {
    /**
     * Init boolean
     *
     * @param var1 var 1
     * @param var2 var 2
     * @param var3 var 3
     * @param var4 var 4
     * @return the boolean
     */
    boolean init(String var1, int var2, String var3, String var4);

    /**
     * Init boolean
     *
     * @param var1 var 1
     * @param var2 var 2
     * @param var3 var 3
     * @param var4 var 4
     * @param var5 var 5
     * @param var6 var 6
     * @return the boolean
     */
    boolean init(String var1, int var2, String var3, String var4, String var5, int var6);

    /**
     * Test connction boolean
     *
     * @return the boolean
     */
    boolean testConnction();

    /**
     * Upload file boolean
     *
     * @param var1 var 1
     * @param var2 var 2
     * @return the boolean
     */
    boolean uploadFile(String var1, String var2);

    /**
     * Download file boolean
     *
     * @param var1 var 1
     * @param var2 var 2
     * @return the boolean
     */
    boolean downloadFile(String var1, String var2);

    /**
     * Delete file boolean
     *
     * @param var1 var 1
     * @return the boolean
     */
    boolean deleteFile(String var1);

    /**
     * Create directory boolean
     *
     * @param var1 var 1
     * @return the boolean
     */
    boolean createDirectory(String var1);

    /**
     * Remove directory boolean
     *
     * @param var1 var 1
     * @return the boolean
     */
    boolean removeDirectory(String var1);

    /**
     * Move file boolean
     *
     * @param var1 var 1
     * @param var2 var 2
     * @return the boolean
     */
    boolean moveFile(String var1, String var2);

    /**
     * Copy file boolean
     *
     * @param var1 var 1
     * @param var2 var 2
     * @return the boolean
     */
    boolean copyFile(String var1, String var2);

    /**
     * Rename boolean
     *
     * @param var1 var 1
     * @param var2 var 2
     * @return the boolean
     */
    boolean rename(String var1, String var2);

    /**
     * Gets file list *
     *
     * @param var1 var 1
     * @return the file list
     */
    List<String> getFileList(String var1);
}
